package me.jessyan.mvparms.demo.data.api.service;

import java.util.List;

import io.reactivex.Observable;
import me.jessyan.mvparms.demo.data.entity.MessageListEntity;
import me.jessyan.mvparms.demo.data.entity.TopResponse;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * @Author: 海洋
 * @Date: 2018/8/23
 * @Desc:
 */
public interface MessageService {

    @POST("/message/list")
    Observable<TopResponse<List<MessageListEntity>>> getMessageList(@Query("type") String type, @Query("page") String page, @Query("limit") String limit);
}
